using NUnit.Framework;
using Rhino.Mocks;

namespace NUnit.Behave.Specs.I_Want_Conjunction_Specs
{
    [TestFixture]
    [Category("I_Want_Conjunction_Specs")]
    public class When_invoking_the_So_That_method
    {
        [Test]
        public void Should_return_a_So_That_conjunction_type()
        {
            MockRepository mockRepository = new MockRepository();
            IMessageProvider messageProvider = mockRepository.CreateMock<IMessageProvider>();

            I_Want_Conjunction i_Want_Conjunction = new I_Want_Conjunction("this feature");

            Assert.IsInstanceOfType(typeof (So_That_Conjunction), i_Want_Conjunction.So_that("I can be strong"));
        }
    }
}